package net.model.device;

import com.alibaba.fastjson.JSONObject;

public class ProductBean {
   private String prodKey;
   private String productModel;
   private String name;
   private String descp;
   private String imageUrl;
   private long isForcebind;
   private long isGateway;
	private long typeId;
	private long createTime;
	private String pid;
	private String platform;
	private long status;
	private String protocol;
	private String typeName;
	//总设备数
	private long total;
	//api_key第三方平台拉数据用
	private String apiKey;

	public String getProdKey() {
		return prodKey;
	}

	public void setProdKey(String prodKey) {
		this.prodKey = prodKey;
	}

	public String getProductModel() {
		return productModel;
	}

	public void setProductModel(String productModel) {
		this.productModel = productModel;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescp() {
		return descp;
	}

	public void setDescp(String descp) {
		this.descp = descp;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public long getIsForcebind() {
		return isForcebind;
	}

	public void setIsForcebind(long isForcebind) {
		this.isForcebind = isForcebind;
	}

	public long getIsGateway() {
		return isGateway;
	}

	public void setIsGateway(long isGateway) {
		this.isGateway = isGateway;
	}

	public long getTypeId() {
		return typeId;
	}

	public void setTypeId(long typeId) {
		this.typeId = typeId;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public long getStatus() {
		return status;
	}

	public void setStatus(long status) {
		this.status = status;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public String getApiKey() {
		return apiKey;
	}

	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
}
